fix backend and frontend side of test evaluation