fixed tests
added portal configuration