migrate app names and fix failing tests