added readme and some tests