Added some simple tests on a constraint - id param allows only ints