working creation with tests end exception catch