Background task tests