Scenario doesn't fail on check fail?

I’m wondering why my scenario always shows as successful even if I check for status 500, 400, etc.
Here is my code:

http(“ConvertToDate”)
.post(“http://server/jobs?sync=true&timeout=300”)
.body(StringBody(bd)).asJSON
.check(status.is(500))

Regards,
Sergey

I’ve found that this happened when I run this code together with other exec in chain:
If I run:

val scn = scenario(“ConvertToDate”).exec(
ConvertToDate.test()
)

object ConvertToDate {
def test() =
exec(
http(“ConvertToDate”)
.post("/jobs?sync=true&timeout=300")
.body(StringBody(body(“dfdsdsds”))).asJSON
.check(status.is(500))
)

test failed as it should but if add another copy of test function:

val scn = scenario(“ConvertToDate”).exec(
ConvertToDate.test(),
ConvertToDate.test()

)

test run successfully

What I missed here?