Added resource test cases

Fix #365 
@naegelyd 
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
oops I think it was my old file