I'm a bit unclear on what you have done. You have a live site on one server and want to set up a test site on another server? You need to to a sql dump of your live database and copy it over to the test server and then put the database up on that server. You need to also change your config.php file to have the name of this new database along with the username/password to the new database. Have you done all of that?