added a simple sample class and tests