Split only at first equal sign per line

Changed the call to split to use greedy regex in order to split only on first occurrence of equal sign.
Added a test to demonstrate my use case.