#ADMIN-15: added tests for common
#ADMIN-15: fixed json tests