Check the glass thickness, tanks designed for terrarium use are made with thinner glass, and are not strong enough to hold the water pressure when full.
If it is thick enough one part bleach to twenty parts water will disinfect it. Rinse well, and use double the dechlorinator when filling. When I fill tanks that I haven't used yet I fill 1/3, and wait, then 2/3, wait again, then fill to the top. If they hold water overnight without leaking they are good to go. Filling 1/3 at a time helps pinpoint any leaks.