attempt to get functional tests working. removed debug tests.