Move asn1_test.c into tests subdirectory and split it in two