created automated testing and fixed all errors on the first level