adds test for endorsement feature