several fixes - unit tests, htaccess, no more index.php