[test] add 2 testcases to t/compilers/imcc/syn/const.t

#1024 TODO
and #996 fixed.
Thanks to zefram for the testcases