Added tests for PublicRegisterController on auth.coffee