updated tests and readme