fixed naming of configuration protocol, added first tests.