Adds support for Many-to-One and One-to-One nested relations
Adds some very basic test tools

Will probably want to replace these with actual unit tests in the near
future