Approximate and exact distributions of rank tests for balanced incomplete block designs