Fix tests in r204576

Proper redeclaration warnings for dllimport are not implemented yet.