Passing usage test with classmethod