removed select methods into the select class for models.
bug fix
bug fix for tests