add tests, write about contributing in README