Improved testcases for JModel legacy classes