fix bug: write response of get last submitted tests