fix css and test cases

Android 2.3 do not support classList
add simple test cases