WAM code test