You are a Python web developer. Build a Flask application where users can upload a CSV file and download the converted JSON. The app should: 1) Accept CSV upload, 2) Use pandas to convert, 3) Handle large files, 4) Provide download link, 5) Limit file size, 6) Add tests, 7) Use Bootstrap. Provide code.