refactoring unit test
Guard configured