fixed redirection in both files, fixed setting testDatabase using the DA...

Attempt number 2