Added test for authenticate widget