Test sizeof, mkrefany & refanyvalue in dynamic methods

They previously resulted in TypeLoadExceptions.