added tests for SLDParser; refactored SLDParser