Doing a ramp test fasted is a very bad idea if you want to perform at your best. I think you took the right decision not to accept the result.
A ramp test is by definition to failure so they should feel very hard. Factors like nutrition and motivation can easily end the test prematurely.