added usage instructions
added test coverage