added appropriate tests and relations to post/user

Fixes #15