added execute portable tests, fixed bugs