array reference bug fixed
new_test added
new test added
bug fixed