Implemented pbject creation and created a basic test case