refactored ajax and crypto tests to modules + auto-generate paths