Fix async error in duplicate user test

Ensure the first user saves before trying to add the duplicate. Fix #182
Fix async errors in test pre and post hooks.