Testing out function of devise