some test stuff and a working resource loader