Unit tests for spidering