Added test code for synth