Added unit tests for autopass to BMInterfaceTest