Updated readme.md and testing functions within functions.