Men accused of setting puppy on fire to be tried together