Added staff start and end to selection pattern
Refactored common test code into a separate function.
Added test for copypastesymbol into 2 staves.