TESTS: Fixed bad use of const

Signed-off-by: Gama <misept.dieseneuf@gmail.com>