Initial test for resource API