Removed duplicate constant declaration and fixed minor test oversight