A good start on tests.

Fixes #10
Merge branch 'master' into feature/10-tests
Added tests for user actions.

Fixes #10
Merge pull request #12 from firstandthird/feature/10-tests

Feature - Tests