Initial test framework and trivial tests