A loose spark plug willnot affect a compression test. Maybe when that tank of gas with oil is gone the next tank will run better.