external properties file and test
refactoring