Added menu inflater for Robolectric.
Fixed view inflation test.