[OE-3955] Added base JS unit tests