Added resource test cases

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