update 2 test functions