Added testcase for JModelAdmin