rename test to match source
add structure to test
optimised functional composition
Array.slice goes to end of array anyway
hack a little more out
hack a bit more size out
remove unused vars
remove need for try/catch by not throwing an error