a test is missing to properly show an exception when relation cannot be found