V4 - Unit Testing

@alcir-junior-caju if it is working and you have a few extra minutes to write a high-level setup instructions for TypeScript I can add it to the documentation. It is on my list, but I haven’t had the time to work on it. There is an open PR ,which I need to refactor, here.