Added test functionality for TraderValidator