Add tests for lightweight_test.hpp.