added more tests
fixed type in reamde