added card number field; changed float fields to double; fixed tests