Added unit tests for M3

Added unit test for multiplex and PIDLibrary