base test for SAP.java