add unittest for method annotation reader