Updated ub_test