member function declaration test case