Add tests for btest.