Added first regression tests for issue 1.