Added unit tests for testing the plugin extension
Applied consistant formatting for source files
Added missing copyright header