added new tests with void methods