added tests for find_by and find_all_by for vendor class