Add unit tests for arguments, improve getString