Add tests and README