Some regression tests, bugfix for (#69)