Testing single accountmanager library embeded into multiple applications