Add tests for native methods