[tests] fix missing const's