Testing Horndeski gravity as dark matter with hi_class