Fixed unit test to avoid annoying bug with vector comparision in gtest
Corrected some small stuff (spec file, function headers etc)