loader test is now passing
added unittest style test for the loader