fixed magnetic tests