Fixed index create status, added 404 test