Added resource test cases

Fix #365 
@naegelyd 
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
That's odd. `assessment` is used on lines 88-94 and other lines below.