only run test if methods are available