Made relations an instance variable rather then def it for each test