Converted the bio_enc tests to use new test framework.