add prepare methods into the Model_Project and basic tests for it