Added unit tests for parseAssignments function.