refacted travis tests