Added a real spock test and some object hierarchy.