Added a nested model & basic tests