added new tests to test.py
Added bootstrap styles and js
fixed bugs in test.py