added tests and text to README file