Adds unit tests to fix #20.

Also includes the contribution guidelines file which just links to our docs. I've included this because Github gives users a link to that file when they go to make an issue, so hopefully this will give the guidelines greater exposure and more people will follow them :)