added some simple tests.