Dry out js tests