added missing tests from issue #32