Add method for testing of external outputs connection, change asserts, change external outputs connection generation