Complete test

- Added code to member function test