Adding attribute search for model based on querystring
adding test case for attribute query on model