added compassneedscalibration check
Added compassneedscalibration test