Added tests/ + test/Makefile. Corrected sizeof struct in DS