tests: Use proper version names to allow enable/disable debug and optimized builds