Refactored the parseOutput method and added a few unit tests for establishing a connection to MPD and setting some properties.