Fix more bugs with chunks being cloned when pushed to deque
Added test suite script
Remove temporary file