Adds test for Model Custumer. Refactor Model to own js.