added greedy solver test case 5
made the greedy tests more straightforward and fixed a bug therein