add source dirs to make resource tests work #389