createobj is now an expression in ADSL; random fixes and tests added