Tidy `lib/relatable.js`.
Add `.js` suffix to test files.

Added the `.js` suffix to the test files in accordance with the latest
Proof test file naming conventions.

Closes #21.