now working: fixed illegal tests