Adds tests and README