Changed tests to include full paths to keys and other files.

Previously, the result of test was dependent on the current directory.