fix tests and always log calls to a method using ensure
fix some constant stubbing api
added called_with to call log