Added a test and updated the read me