Hacker Rank : Solve Me First : adding unit test against constraints