unit test for user bundle