added and revised tests, updated README