Test work with devise