Some tests added. Checking the most important functionality.