Added tests for pressure sensor and altitude
fixed test