adds tests, readme