added tests and test data.