Added tests for examples used in the README.