Fixed CLS-compliance for unit tests.