 				expect(app2.secret).toBe('-2')
 				done()
 
-	it 'Application retrieval by key - env.data.apps.get', (done) ->
-		suffix = 'qwertyuiop1234567890asd'
+	it 'Application retrieval by key - env.data.apps.get (success case)', (done) ->
+		uid = 'qwertyuiop1234567890asd'
 		env.data.apps.create {name:'myapp'}, { id: 10 }, (err, app) ->
 			expect(err).toBeNull()
 			env.data.apps.get app.key, (err, app2) ->

					done()

	it 'Application creation - env.data.apps.create (error cases)', (done) ->
		suffix = '-0'

		async.series [
			(next) ->

			logs.push(arguments)

		env.data.generateUid = () ->
			return uid

	it 'Application creation - env.data.apps.create (success case)', (done) ->
		
		expect(env.data.apps.create).toBeDefined()
		uid = '-0'
		env.data.apps.create { name: 'myapp' }, { id: 1 }, (err, app) ->
			expect(err).toBe(null)
			expect(typeof app).toBe('object')
