methods testing