Added basic test framework and tests