Adding simple regression tests from master branch.

40/53 fail at the moment...