Added JUnit test for sparl implementations