implemented few tests