Added unit tests for Result model.