Added a complemental test for getIdealResource