Added unit tests for null keys.