Added Mocha unit testing of elevation adjustment routines