improve wp-config detection, and some tests