method tests