Add test and change default output of xp for mel=0
Created by: jwnys
Not a bug, but to keep things consistent, we force xp to be x when mel=0 in get_conn_flattened. This is now consistent with LocalOperator. Added extra tests to verify that PauliStrings behave correctly for all hilberts (Spin and Qubit). Relates to #955