[#70755058] test for handing over license and item

Squashed commit of the following:

commit 94a7693d35c43a4d0c3be31192f3b9272ee09936
Author: Matus Kmit <matus.kmit@zhdk.ch>
Date:   Tue May 13 09:52:21 2014 +0200

    finished test for handing over together license and item

commit 4c3cae1e299dd268193b0989ae56aad31d9dd5fa
Author: Matus Kmit <matus.kmit@zhdk.ch>
Date:   Mon May 12 18:05:02 2014 +0200

    test WIP