adding 2 tests for @dweisz's bug