Testing all factories, fix failing factories.

* Add spec to test all factories (spec/factories_spec.rb).
* Fix courses summary may exceed 150 words.
* Fix admin_applies factory's gender (should be male or female).