Added test for happy path of the simple logic.