Change azimuth test and add javadoc