remove unneeded dependency from dao test, add sleep to e2e register test to fix travis test failure