Fixed remaining strlen and exception test