Add invalid token test to batch_spec
Update send_message in batch.rb

Mark token invalid when error code is NotRegistered
Merge branch 'refs/heads/not_registered' into dev