created new tests.
bug fixes