TOKYO - Japanese police in August will begin testing a pilot scheme for compiling data on possibly dangerous persons to prevent future attacks by lone actors like that seen in the fatal shooting of former Prime Minister Shinzo Abe, the National Police Agency said Monday.