add cmake scripts to nicely define tests