Tests for issues #143, #151 and #152