rename getFrameCount to getFrameLength
move test/*.html to test/fn/*.html