Fixed test that tried to run optimization with empty data set and received bad request as this in now validated on the server.