added integration+unit tests, also installed devise