fixed :test enviroment issues and code example on README