Fix forgotten const in test classes