modified unit test setup for travis ci