tests for compiled super classes - #380
fixed compild classes inheritance issue, fixes #380