fixing deriv tests with nested assemblies