edited test, added clear function to SSP.java