further tests added and CustomerRepository methods renamed where applicable