Improved tests
Fix settings in bootstrap.py, added simple test for settings