First working version for tests.