Modified tests with some more conventions of scala and renamed a test and the method acceptCards to accept