make test a bit more flexibile
rename isProduction config to is_production
config.js cleanup
database.js lint fix