simple tests for basic functionality

fixes #5