Added test for empty data while registration (JC-2)