Adds test to verify sparse array support

#175