added count for loading directive
added tests for Bookmark service