whitespace
added more input validation for scheme and mode
whitespace
fixed typo in test run number
removed unnecessary uses
added input tests for Net::Rest::Generic