algospot test code