Fixed minor bug in SPL test.