Added resource test cases

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>