[#issue-8] add a spec which ensures after init callback is not called while loading form db