Basic Test working with refactoring