Can we do Software Testing in JavaScript ?

Language: JavaScript
Functional Tests
Integration Tests
Mock Functions
Deep Object Comparison