added tests for assocations