finished work with tests.