Add rspec
Remove old testing suit

Add rspec

Add first test
Code analysis fixes.