Fixed key output.
Changed stress tests to use variable length keys.