Added tests for bearer token usage validation