Add missing null terminator in test case