Added stub facets
Added tests for facets and some other failing cases.