Unable to access WP test site

WordPress stores the site URL in a few places in the database in serialized arrays, which can break if you do a simple search & replace on the database. You need to use a tool like this which is aware of serialized arrays to do the replacement.

You can bypass the broken URLs enough to access your dev site by defining the WP_HOME and WP_SITEURL constants in your wp-config.php but it’s best to do the replacement properly.