fix undefined function check_starting_element

A typo I guess, but now the test runs again.