I tried out your solution and it didn't work for me either. Test fails with expected false got nil