Structure tests

Number of test files has been continuously growing and it's crossed the line when it can be comprehended easily at glance.
I've reorganized test files to mirror the code structure to improve the situation.