Testing and debugging

Adds debugging gems and spec files for user and goal models