Added tests for optional scalar rejections