added portal tests