Writing test case 2; compile error shows up