fixing test and resource