Some test code for class