Adding tests for window maximize feature