Refactor tests && annotate rwlock and rwsem

remove main parameter, and just do it before kt_test if necessary