fix the data access unit test.

Unit test was failing because the attempt_id was not in database.  Made
a change and it is working now.