Add test-spacecenter target and fix tests