Locks code formatting
Introduced unit tests