tests completed for amount converter
refactored to remove manually getting values from dictionary