A test for saving both ime and font preferences

Change-Id: I091f8db781bf7ea0fd8967c568604402a999356d