Added test confirming that embedded facet appears under the key "facet", and fixed the bug that meant it didn't.