Updated test to use SF new feature
Use Application::setTerminalDimensions in test to be more portable