Unit tests for new exceptions within push and unshift