test of ilegal method