Added more tests from nDriven example, and added tests for Farm class.