Restructure the enum and add tests for the scraper module