added more tests, all commands are tested now
parameter check, javadoc added
parameter check