Add specs for component model + fixes

I'll be putting here specs I write.

Note 1: All changes to models are due to failing tests I wrote.
Note 2: I am not comfortable with minispec, so I replaced it with rspec.