Incorporating automated tests