Fixed a bug in the pianoMachine.shift[Up/Down]() methods. Removed auxiliary method for these. Added test cases.