Created tests for loader. Created a test env.