Add project operator to Java API
Added tests for project operator