Magnetlink unit tests