fix ref #43 part 1.
edit automatic test, ref #43 part 1