add failing tests for has one and has many