Test of foundation with compass