Added test for unknown key and cleaned up other tests.