test in browser, using testling-ci

Include badge, re-organize tests to be friendly to browser tests.