Title: Test code for synchronous machines