SYNR-316

Additional tests for synapseExecute and small changes suggested by previous code review.