Added tests for SdlParser and made constructor protected.