Unit tests for process detail view in js