Removed test dependencies and versioned Flask dependency