Add POST test for invalid attributes