Added option for defining source path. Test included.