adding test cases for #121