Fixed tests for Maintenance mode