Added config protection test
Started writing adapter tests