Adding tests for config plugin

Closes #405