use $ioption for all sed invocations
refactor install-wp-tests.sh into 3 functions
fix DB name replacement