sample class with test driver