Added more tests to analyze open issues #23, #27.