Added a couple tests to example_spacs.js