moved test file to auth dir and updated Makefile
bug fixes thanks to unit tests