improve tests
split size into classfile
refine tests with jquery