Greedy Test Implemented