Repaired failing test and harmonised error format