Testing framework

implemented some simple tests for storage.