added tests and implementation for random, find_by_credit_card_number, and find_all_by_status