Basic test cases - more tests are still needed, along with cleanup.