fix unused variable
 add octal tests