add offline test for travis