testing magnitude