Added more tests to analyze issue #26 and issue #27.