bcf_close is not safe for nullptr
Tests for move constructor/assignment
- thanks to Khalid and Mauricio