Improve dummy test.
Fixed key-file test.