test for first method