Implemented tests.