Minor bug fixes, adds spiderTest. Still need to finish debugging test.