Adding tests for basic key operations.