exists function now ignores whitespace when comparing strings
adding unit test for command aggregate changes