add test: should throw error if specified app not exists