Fixed tests and improper portal link