Remove test/ folder and add preliminary tests