Update test.register_member.js

1. Fix some jslint error.

2. Fix typo "exptected".

3. Add one test for allow firstName and lastName has empty spaces.