Fix using of BCFields in unit tests.