Added resource test cases

Fix #365 
@naegelyd 
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Nit, move this comment to the bottom of the import list