Automate test

updated tests