adding tests, updating readme