testing and authentication