Add tools for unit testing
Add unit tests for data API
Remove unwanted commenting
Export the port for unit testing