Added basic test and set up exports for integration testing.