added basic tests and improved README