Added test for bnc#848768