LPS-48694 Unify add and get test in one, so that it's possible to make assertions

Finished review. Could you aprove the changes or modify what is not appropiate? Thanks! cc/ @cgoncas