added tests
updated the readme with test instructions