resource section test was in wrong location