Add more tests for layout inflater, fix build