Update test.rb

Removed test for deprecated field `username`