Hacker Rank : Halloween Party : adding unit test against constraints