rspec tests for building blocks