#4 add tests for conversion
#4 add implementation for exchange