Function class test cases