Stop in for a cup of coffee

Says 'guessing' it's a tester. ? Maybe, It looks like it mounts with the 2 holes and the spring keeps the contact for bulb on. Not sure that makes much sense...