function test_belongs_to_with_preloaded_data()
 {
     setup_sqlite_test_db();
     preload_sqlite_data();
     $result1 = TestResult::find(1);
     $test = $result1->test;
     $this->assertEqual($test->dummy, "Test1");
     $result2 = TestResult::find(2);
     $test = $result2->test;
     $this->assertEqual($test->dummy, "Test2");
     $result3 = TestResult::find(3);
     $test = $result3->test;
     $this->assertEqual($test->dummy, "Test2");
 }