add tests for race model
add tests for log model