moved unity test require out of the travis if statement