added api tests for deal -- closes #26. bring da ruckus