Adding testing methods definitions. Changing select_options building.
Removing activerecord dependency. Covered by travis tests.