Add layer status and test.
wrap pointObj and add tests.