Fix the test_admin create and update app methods. Refs #319