Added tests for after initialise method of galleries controller