added flask website tests using test database