added some test for each method