Added testing to Auth library