Add adminPanel unit tests