Unit testing updated with faked authentication