This project sounds interesting, to say the least. ^^
How exactly are you trying to achieve a "100% compatible implementation of Danmakufu"?
Are you going to rebuilding the Danmakufu engine in HTML5, but read the player scripts as they are and interpret them in a way your implementation can read them?
Or are you going to interpret the original engine already. Or something completely different.
(From the looks of it, you are trying to do my first guess. But I'm interested and want to know this exactly, so that's why I'm asking this probably stupid question. :V )
Also, if I am correct with my first guess, what are you going to do with features that are being added in danmakufu in the future? It is still being worked on, as far as I know (I'm not a danmakufu scripter, so I don't know much of that.) You will need to keep implementing new features for a while, then. ^^;
By the way, if by tests you are talking about unit tests, do them right away, please!
Heck, it probably would be a good idea to do a test first development, even. But don't do them after everything is done. ^^;
Trust me, I know what I'm talking about. Because I ignored my own advice. xD;
I've programmed a danmaku engine myself. When I started, it was only supposed to be "a little test project", so "obviously" I didn't need any tests. Well, now that my "little test project" is actually a running engine, the joke's on me, since there are exactly zero tests. So whenever I need to rewrite some code (for example, I added a scaling feature for the projectiles recently), I have to pray that everything works later on. The end result of the scaling implementation was that I almost published a game where 50% of the scaled projectiles had misplaced hitboxes.
Don't make the same mistake and do some tests when you are actually programming your project. I know, tests are annoying, but you'll kick yourself in the butt later on if you need to rewrite something. ^^;
Anyway, enough with the nagging about tests, I wish you good luck with your project! I hope you won't run into any unexpected problems later on. ^^