this is unlikely because it's not typically how bulbs burn out, but it is something that can happen - when you tested the bulb did you shake it?
it sounds silly, but before you spend time checking electrical make sure the bulb doesn't have a broken filament. on rare occasions the filament can...