Added a test case for the empty turn and fixed a bug in Planet