schema and associations built and tested