Make Test::Unit assertions available in formula tests

Resolves #18753.