Adds setObject to CCConfiguration

also adds the test