Add test for create user. ref #302
Remove console.log.