added tests functionality
added tests and added configurable paths