test for extract keys working
added a doubly nested object test