call the correct test func