fixed tests and removed the loader test

--HG--
branch : 0.8
merge with 0.8