To test a transformer the guetto way, with little peril and power, get a synchronous motor (like the one rotating the plate in a microwave) and use it as a low voltage, low frequency AC generator. Put one voltmeter at each winding under test, and gently rotate the shaft with the help of pliers. Not very precise, but you get an idea of which is primary, secondary and the turns ratio.