Testing legacy systems