Adds tests for sessions controller