[tests] fixes Spacetest compile