testing the spray framework