Added unit tests for routes/create modal. Client js files wrapped in autofunction