initial reorg of tests to unit/functional
fixes #99, refs ibm-js/deliteful#15