Add support for resource project.
Convert test into using kernels.