#291 - added a test for the slice function with non-existent key