fixed automatic tests
fixed automatic tests