Added resource test cases

Fix #365 
@naegelyd 
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
If I do so, I get a flake8 error because the variable assessment is never used.