Added default usage
Added test on length validator
Added some error handling and getValues() function