tests for caclulating bias