adding unit tests for user bundle