Improved help message. Added loops
Added tests for arguments
Added status code check