Use newer signature of cmake's add_test()

Authored by kossebau on Mar 7 2019, 3:25 AM.