Added basic tests and finished spinaPost function
Both the spinaGet and spinaGost function need revision and/or testing