Remade tests 1, 2, 3. Test 4 added.