Moved test method
Added :checked and :selected compiler support