remove unnecessary tests
fix small problen with devise