add tests for bj core