test background switching endblock