added tests for bytes added

Change-Id: I2dee5cb2f451c061a07edeb3d9e96a07613f699e