Fix test:units spec tests in Travis