added tests and README