Added tests for #832

Added some tests for the changed behavior in #832