upgraded a_test