added some testcases / added makeDynArray func
finished work