Improved testing

Changed the second test to use long instead of int so that there allocs of
different sizes