tests [orm] add tests with nullable properties