added whitebox tests

added testing for constructor with double array parameter