adding test and updating readme