Complete tests on class methods