EAGLESIX-2695 bugfix. restored the check that ensures two arguments are passed in. Added rudimentary test cases.