changed testing for automatic tests