Debugging and addition of unit test.
Half unit test + debugging.