In case validation fails, return 400 instead of 200

Closes #1.