Tests for allowing void return type from method call