Add setUp/tearDown + improve feedback tests

This branch add setUp and tearDown to tests and allows a much less problematic setup and teardown of viewport.