Added tests for #504 to the language module bit operation tests
Fixed #504 JS rightArithmeticShift() and rightLogicalShift() are swapped