Adds test for prefix and suffix error