added and test coin processing