testing the margins