Added More tests for GreedyHandler