fixed file
added test function to README.md