added some automated tests.
changed the directory that the tests look in.