Hi,
if you really need to test (why? 400 prefixes is nothing special in BGP world.), the easiest way would be configuring 400 static routes in your router config (pointing to Null or an alive next-hop) and redistribute static to BGP.
You can create a script (or Excel) to generate those static routes to a text file easily and paste them to your config.
HTH,
Milan