A comparison of testing methods in scalar-on-function regression