PortalKit: add jasmine test case but incorrect, need to be modified