Tests

automated tests to verify this works the way we expect it to