test the barometer