add tests
fix isMobile
increase coverage
update for travis