Added test for duplicate parameter ids in compilation logic of variable
declaration.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>