complete coverage with new rspec tests

Signed-off-by: Sebastien Varrette <sebastien.varrette@uni.lu>