Close string in test