Option to not retain program on creation
Fix bug in inplace_reduce() test

This fixes a bug in the test for inplace_reduce() in which
the vector was being filled with data from two different
command queues leaving the data in an undefined state.