Fixed wrong paths in mysql and pureftpd module and added tests