Bai test tutorial