Fix return value in level property

Also updated the testcase so that it won't happen again.
Bump version to 4.13