For E34 you look for the temp sensor at the RHS of the radiator and use a jumper on the connectors to test low and high speed for the fan. E36 not so sure but the low speed should come on when you turn on the AC and the high speed should only come on when it gets hot enough. In high speed you should be able to clearly hear the fan running.