Logging and raising exceptions on fixtures functions

Relates to #361