Work on unit and javascript testing