Implemented missing tests.