Fixed recursive call
Completed tests for relations
Merge branch 'master' of https://github.com/martyn82/SST