added code to try the change_bin function
added code to test change_bin