add test cases for reflection testing